package jarvis.fs.document;

/**
 * Function: The item in DocumentVector
 * @author Jarvis.Guo
 *
 */
public class OrderedTFIDF {

	/**
	 * term number in the TermEnum
	 */
	private int termNum;
	/**
	 * tfidf value
	 */
	private double tfidf;
	
	

	/**
	 * @param termNum
	 * @param tfidf
	 */
	public OrderedTFIDF(int termNum, double tfidf) {
		super();
		this.termNum = termNum;
		this.tfidf = tfidf;
	}

	/**
	 * @return the termNum
	 */
	public int getTermNum() {
		return termNum;
	}

	/**
	 * @return the tfidf
	 */
	public double getTfidf() {
		return tfidf;
	}

	/**
	 * @param tfidf the tfidf to set
	 */
	public void setTfidf(double tfidf) {
		this.tfidf = tfidf;
	}

}
